home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000420_news@watsun.cc.columbia.edu _Mon Mar 29 13:49:37 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
5KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA09350
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 29 Mar 1999 13:49:34 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA05845
for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Mar 1999 13:40:32 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jf3@my-dejanews.com
Subject: Re: setting up kermit
Date: Mon, 29 Mar 1999 18:33:11 GMT
Organization: Deja News - The Leader in Internet Discussion
Message-ID: <7doh16$k8c$1@nnrp1.dejanews.com>
To: kermit.misc@watsun.cc.columbia.edu
Ok here is some information that I figured out....
THis is my script:
------------------------------------------------------------
set input timeout proceed
set modem hayes
set dial dial-command atdt%s\{13}
set dial display on
set local-echo on
set duplex full
set line /dev/cua/b
set speed 19200
set parity even
set script echo
echo
clear
goto main
:tryagain
echo Trying again\7\13
hangup
:main
OUTPUT ATDT9,4250824\13
INPUT 40 CONNECT
IF FAILURE GOTO tryagain
INPUT 15 ID=
OUTPUT M\13
INPUT 15 ID,
OUTPUT 4353389\13
INPUT 15 essage
OUTPUT uagent is running on spruce fir cedar willow and poplar\13
hangup
exit
---------------------------------------------------------
If I type in the first half by hand (all of the set statements) and then I
type dial 94250824. It works like a charm and I can get it and manually do
all of the things that my script does. However if I manually type in the
OUTPUT ATDT line then I get the same error message:
?Connection on /dev/cua1 is not open.
?Connection on /dev/cua1 is not open.
Trying again
So that would say to me that there is a problem with the OUTPUT line?? Does
this make sense?? Has the scripting changed from version 6 to 7??
Thanks for any more tips that anyone may be able to give me!
Jeremy
In article <7do5ok$9ra$1@nnrp1.dejanews.com>,
jf3@my-dejanews.com wrote:
> Thanks for the hints... however, I am still getting the same errors. I have
> tried setting both the user and group owner of wermit to uucp. I
played with
> the SUID and SGID bits on wermit. I tried changing the owner of /dev/cua1
> from root to uucp. But I am still getting:
>
> ?Connection on /dev/cua1 is not open.
> ?Connection on /dev/cua1 is not open.
> Trying again
> ?Connection on /dev/cua1 is not open.
> ?Connection on /dev/cua1 is not open.
> Trying again
>
> Any other ideas??
>
> Thanks!!
>
> Jeremy
>
> In article <F99L9H.In0@fcshome.stoneham.ma.us>,
> fredex@fcshome.stoneham.ma.us (fred smith) wrote:
> > jf3@my-dejanews.com wrote:
> > : Hello all,
> >
> > : I am a somewhat newbie at kermit and I was hoping that someone could
answer
> > : my question. We had kermit running on a Solaris 2.5.1 box with a script
> that
> > : would page people. That machine has died and I am trying to get it to run
> on
> > : a linux box. I have a fresh install of Red Hat 5.2 with an external
modem.
> > : I have put the modem on com2/cua2. When I run minicom, I am able to dial
> out
> > : and connect to other computers with no problems. However, when I try to
run
> > : the script from my old Solaris box it tell me that it cannot open the
> > : connection to the modem. I have tried /dev/cua1, /dev/cua2, /dev/modem,
to
> > : no avail.
> >
> > What does 'ls -l /dev/cua2' look like? also ls -l output of your kermit?
> > If the serial port is something like mine:
> >
> > crw-r----- 1 uucp uucp 5, 67 Mar 27 12:09 /dev/cua3
> >
> > then the kermit should look like:
> >
> > -rwsr-xr-x 1 uucp uucp 807668 Jan 1 21:33 /usr/local/bin/wermit
> >
> > note that both are owner/group uucp, AND (and this is important!) the
> > kermit is setuid uucp! Kermit should NOT be setuid to root, it is smart
> > enough to notice, and will refuse to run that way, but it must have
> > access to the port as the port's owner.
> >
> > The one above is 6.1.193, the one below is 6.1.195 beta.04, note its
> > permissions are slightly different:
> >
> > -rwsrwsr-x 1 uucp uucp 971853 Feb 10 21:51 wermit
> >
> > --
> > ---- Fred Smith -- fredex@fcshome.stoneham.ma.us
-----------------------------
> > The eyes of the Lord are everywhere,
> > keeping watch on the wicked and the good.
> > ----------------------------- Proverbs 15:3 (niv)
> -----------------------------
> >
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own